/*
 * Created on 6 oct. 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package fr.jade.console.cmd;

import fr.jade.console.core.AbstractCommand;
import fr.jade.console.core.Command;
import fr.jade.console.core.Environment;

/**
 * @author ssicard
 */
public class Exit extends AbstractCommand implements Command{

  public String getDescription(){
    return "Exits the console";
  }
  
  public String getHelp(){
    return "exit";
  }
  
  public String getName() {
    return "exit";
  }
  
	public Object execute (String[] args, Environment env) throws Throwable {
		System.exit(0);
		return null;
	}
}
